import request from "./request.js";

const loadLeftMenu = function(){
    return request.get("menus")
}
const loadAllRights = function(type="list"){
    return request.get(`rights/${type}`)
}

export default {
    loadLeftMenu,loadAllRights
}